package com.example.service;

import com.example.pojo.PageBean;
import com.example.pojo.Task;

import java.time.LocalDate;
import java.util.List;

public interface TaskService {
    void add(Task task);

    PageBean page(Integer page, Integer pageSize, String taskName, String status, LocalDate begin, LocalDate end);

    void update(Task task);

    List<Task> selectAll();

    void updates(Task task);

    PageBean pages(Integer page, Integer pageSize, String taskName, String status, String schedulingMode, String priorityRules, LocalDate begin, LocalDate end);
}
